package com.yuandian.api.management.feign;

import com.yuandian.api.business_monitor.po.SearchParams;
import com.yuandian.api.customer_perception.vo.SearchOptionVo;
import com.yuandian.bpm.common.core.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.context.annotation.Lazy;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * 说明：远程调用系统配置接口
 * @Author maxinmo
 * @Date 2023/8/1 14:06
 */

@FeignClient(contextId = "remoteConfSystemService", value = "bpm-management")
public interface RemoteConfSystemService {
    /**
     * 查询默认的应用系统选项列表
     * @param params 搜索项请求参数
     * @return 搜索选项vo对象集合
     */
    @PostMapping("/system/queryDefaultAppSystemOptions")
    public R<List<SearchOptionVo>> queryDefaultAppSystemOptions(@RequestBody SearchParams params);
}
